<template>
  <div>
    <van-swipe-cell style="border-bottom: 1px solid #aaa;">
      <div class="shopmsg">
        <van-radio-group v-model="radio" class="radio">
          <van-radio name="1"></van-radio>
        </van-radio-group>
        <div class="msg">
          <img src="https://cdn7.axureshop.com/demo/2090757/images/%E8%B4%AD%E7%89%A9%E8%BD%A6/u446.png">
          <span>
            <p>简约沙发</p>
            <div class="down">
              <h5>北欧</h5>
              <img src="https://cdn7.axureshop.com/demo/2090757/images/%E8%B4%AD%E7%89%A9%E8%BD%A6/u440.png" style="width: 12px; height: 8px;">
            </div>
            <div class="num">
              <span>58元</span>
              <van-stepper v-model="value" />
            </div>
          </span>
        </div>
      </div>
      <template #right>
        <van-button square text="移入收藏夹" type="info" class="delete-button" />
        <van-button square text="删除" type="danger" class="delete-button" />
      </template>
    </van-swipe-cell>
  </div>
</template>

<script>
export default {
  data() {
    return {
      radio: '',
      value: 1,
    }
  },
}
</script>

<style lang="scss" scoped>
.shopmsg {
  display: flex;
  padding: 10px 0;

  .radio {
    margin: auto 10px;
  }

  .msg {
    display: flex;

    img {
      width: 80px;
      height: 80px;
      margin: auto 0;
    }

    >span {
      margin-left: 10px;
      .down{
        box-sizing: border-box;
        display: flex;
        justify-content: space-between;
        padding: 0 10px;
        margin: 10px 0;
        background-color: #F6F7F8;
        width: 120px;
        height: 25px;
        line-height: 25px;
      }

      .num {
        width: 225px;
        display: flex;
        justify-content: space-between;
      }
    }
  }
}

.delete-button {
  height: 100%;
}
</style>